For the last 2 days I have been experiencing clumpy brown vaginal discharge. My period is due in around 2 weeks. What are the likely causes of this?

Bacterial vaginosis. This could be bacterial vaginosis, which is a common vaginal infection that women get. This requires treatment with an antibiotic to resolve. Your doctor could check for this infection, as well as other possible infections.