How to rotate a character around an objects using keyboard inputs?

Here is a working example: