I don’t know if you require an app on the phone to be able to read touch input on the PC over usb or network. If you can read the inputs on PC you still need a way for Unreal Engine to read them. Possibly a plugin like this:
RawInput Plugin in Unreal Engine | Unreal Engine 5.1 Documentation