For Windows:
https://github.com/fiddyschmitt/SimpleKVM
If you only have two computers, you just need one instance of SimpleKVM to switch between the computers.