Move the two squares at the same time with the arrow keys. If one square is unable to move in the direction you want but the second square can, the second square will move in that direction but the first one will stay put.