The official Xinhua news agency says 83 miners were in the mine at the time of Wednesday 's explosion in Shanxi province , but 54 escaped .