Three children have been found alive after devastating floods killed nearly 50 people in Brazil.