Pre-treatment of coal seam water with coagulation and electrocoagulation