I'm going to make the assumption that you're working with wireless input devices using a Bluetooth connection.
Is this happening if you work with Adobe Illustrator? How about if you're dragging and dropping text in a word processing program or editing cells in a spreadsheet. That'd help narrow down whether this is an InDesign or a system problem.
Do both devices have USB plugs? Or are they using something like a unified receiver like Logitech uses? Or does your tower have built-in Bluetooth? If you've got a wired mouse, unlink both the wireless devices and see if a plain ol' mouse plugged into a USB port works. I think this may be the most likely issue, as running multiple Bluetooth devices can occasionally cause conflict.
Now to the dirty question: if they are wireless devices, you've put fresh batteries in them, right?
If that doesn't help. you can go to your Windows 10 Settingsdialog box, then Select the Devices>Mouse>Additional mouse options links to get to the mouse/input device interaction options. Pay close attention to the button options, and functions that affect those button options like ClickLock. Occasionally, accidentally, these toggles may get messed up. But this was also a common way to mess with folks in computer-weenie circles, and over time became my go-to first check for input device issues. Are the drivers for these devices current?
I wouldn't give up hope on your computer or InDesign. This sounds more like a conflict with processing signals with your input devices. Hopefully one of the options I listed above will help you past your issue.