Employee was attempting to pull cable off the roofbolter that was fouled up; when he touched the cable and the frame of the roofbolter he recieved an electrical shock to his upper body. He was taken to the hospital and kept overnight for observation.