Duplicate keyboard input after upgrading to macOS Catalina
Do you happen to have Wacom settings/software installed? Seems that completely uninstalling all Wacom software and deleting its other files solves the issue. 

Looks like doing so solved the problem for me, testing for 10 minutes and the issue doesn't occur.

Logitech settings may be a reason too.

Kudos to rakdavid.