You wouldn't say "me was riding along" would you? You'd say "I was riding along". So it should be "I and my friend were riding along" or more correctly "my friend and I...."
The cable was probably somebody's telephone line that had dropped into the road. It happens.