The death toll from landslides and flooding on Indonesia's Java island has risen to 47 after rescue workers discovered more bodies.

Dozens of houses were buried in the landslides and thousands of homes were inundated by floods in 16 districts and towns in Central Java province over the weekend.

National Disaster Management Agency spokesman Sutopo Purwo Nugroho says rescuers found 12 more bodies on Monday, including four in two villages in the worst-hit district of Purworejo.

Seasonal rains often cause flooding and landslides in Indonesia, an archipelago of 17,000 islands and home to about 256 million people, many of whom live in mountainous areas or flood-prone plains close to rivers.