Heavy rains have caused floods that have killed at least 13 people , leaving tens of thousands homeless .