To crouch in Borderlands 2, press "C" on your keyboard (PC)
Crouching can make it harder for enemies to hit you.
Also see:
Keyboard Controls