If you type on a keyboard regularly, you should be aware of the good typing habits. Basically, you want the arm, wrist and hand to remain in a straight line. This prevents unnecessary tension in the connected tendons that run through the wrist and down along the arm.
A bend in this sequence will cause stress, inflammation and injury to the carpal tunnel. Adjust your keyboard position and chair height to ensure proper posture.