Such power lines have high voltage, capable of ionising some of the air molecules closest to it. This process then becomes an avalanche, and more electrons get ionised. The fact that you are cycling causes more friction with this charged particles thus the electric shock.Possibly, your bike generates charges too, the friction from the tyre and the body. Weather too plays a major role, the dryer it is the easier it is for more particles to be ionised. About the bike's speedo, its design might have the answer. Most rely on magnetic flux changes, just like moving-coil and moiving-iron instruments such as galvanometers. The high magnetic field near the power lines alters magnetism.. Try reading a compass as you pass near the power lines, you will notice the inteferance..