The next time it is in a non working condition, boot to the UEFI and see if touch is working there and if you can navigate using touch.
- Shut down your Surface.
- Press and hold the volume-up button on your Surface and at the same time, press and release the power button.
- When you see the Surface logo, release the volume-up button.
The UEFI menu will display within a few seconds.
If you can NOT use touch in the UEFI, this is definitely hardware and you need an exchange. To start an exchange online, see Check your Microsoft warranty and create service orders
Also see https://support.microsoft.com/en-us/help/4023527/surface-how-to-get-service-for-surface