You can always get a DVI KVM that has two monitor connections and then get two HDMI to DVI cable to hook them up to the KVM. But that might be more expensive then what you're after. Cause you will need to find a KVM with two montor connectors as well as two PC connectors.
Or you could just get a keyboard and mouse for one of the systems and not use a KVM switch at all.