Severe floods caused by monsoon rains have killed more than 30 people and displaced tens of thousands in Malaysia and southern Thailand, officials said on Tuesday, with both countries preparing shelters and evacuation plans in anticipation of more heavy rain.