Coal and lignite production