Heavy rainfall has sparked flooding and forced thousands to flee their homes