How to make a camera orbit around an object with touch controls?

Attach camera to spring arm component and then rotate a spring arm.
Here is link to how to use spring arm component: Using Spring Arm Components | Unreal Engine Documentation