China says a gas explosion in an illegal coal mine in the country 's north has killed 20 people .