It should work fine. I would be surprised if a newer LCD didn't let you plug in two input sources and switch between them -- but, seriously, why dno't you just try it and find out?
And on all of the ones I've seen, you need to hit a button on the monitor to switch inputs.
If you have a keyboard with special function keys, it should have come with software to program them.