Thermal and electrical transport across a magnetic quantum critical point