The keys for the left piece are:
W = rotate
A = left
S = down
D = right
The keys for the right piece are:
UP = rotate
LEFT = left
DOWN = down
RIGHT = right