Dozens of people have been killed and millions are left homeless as heavy rains trigger floods and landslides throughout parts of Bangladesh and India.