Is it possible to play minecraft with a pc on 2 screens so that my buddy can play on one and the other?
You need 2 keyboards and 2 mice, then it could work theoretically. But I don't think that a PC can "scan" 2 mice and 2 keyboards at the same time and can assign all interactions from each other.
2 Minecraft accounts would also be good if you want to play on the same server.
How do I do that
Unfortunately this is not possible.
Minecraft is displayed on both screens, but it can only play one,) because Minecraft has not yet worked on a split screen.
In theory, there are programs that can be used to set this, but they don't work properly. So no.