Doctors shifted the babies to another hospital as smoke billowed into the casualty ward and the first floor, fire officials said