Flooding in the Philippines has killed 40 people over the last two weeks. More than 22,000 are in shelters.