Torrential monsoon rains have killed at least 37 people in flooding, landslides and house collapses in the southern Indian state of Kerala with more than 31,000 people taking shelter in state-run relief camps.