Is there a simple way to change the origin point of a lot of objects at once?
Select all your piano keys. 
Set your 3D cursor to the location where you want your point of rotation. 
Object -> Transform -> Origin To 3D Cursor


That will set the origin for all the piano keys at once.