Hello, thank you for reaching out to Microsoft Q&A.
Do you remember installing any updates that have caused the touchscreen to stop working?
1
Try the System Restore method -
Click Windows + R key, type rstrui.exe, and click ok.
Select 'Next' and choose the date/time you would like to restore your computer to.
Click finish to complete the restoration.
2
Check for Optional updates.
Go to Start > Settings > Windows Update> Advanced Options.
In the Advanced options window that opens, make sure Receive updates for other Microsoft products is switched on.
Under additional options, select Optional updates.
Select all the optional updates, and click Download & Install.
Then, go back and check for updates.
Download and install all the available updates for your device and restart your computer.
Let me know if you still need more help.