When playing the piano or keyboard it is important that you have the right posture, otherwise your playing playing ability will be reduced and you could attain an injury such as a strained wrist or cramp. Here is an image explaining the difference between a bad posture and a good posture when playing.