If your bike is steel magnets should stick to it regardless of whether or not the bike itself is magnetized.

I would agree with the others - the best candidate for messing with your compass is the light.