Massive flooding has forced tens of thousands of people in four South American countries to take refuge in shelters.