Have you installed any mods? Are you using a downloaded save game? Have you tried climbing the ladder using the F key? Get very close to the ladder and then press F, and after about 1-2 seconds start climbing using the arrows. Have you changed your controls? If yes, try making them back default. Generally, the key to climb the ladder is the same with the one that you use to enter a vehicle.