An explosion at a pharmaceutical factory in southern India's Andhra Pradesh state has left 17 dead and 40 injured. Local authorities are investigating the cause of the explosion.