A multiphysics model for biogenic gas extraction from coal seams