Synergy is a freeware Programm to contol two or more Computers with one mouse and Keyboard. You can download it here
http://synergy-foss.org/. I recommend to load the latest stable Version because the configuration is easier than in the new Beta-Version. Tutorials can be found on YouTube.