Two people have died and another has been flown to hospital after an underground explosion at a mine in far west NSW.