(Keyboard: R, P, S)
Zoom (Keyboard: X, Z)
Hold down Shift while moving the mouse to pan (Keyboard: arrow keys)
You need to click on the canvas before using the keyboard.

Test:

Debug draw flags:
Shapes
Joints
AABBs
Transforms

Show stats