Climbing a ladder in Half-Life is easy. Just walk into it, look upward (or in whichever direction you want to travel along the ladder), and press the forward key, which is W by default.