At least 39 people were taken to hospital, with several reported in critical condition. Authorities are investigating what caused the fire.