Fist thing you need is a Dual video out video card.
I use Nvidia. In control panel go to Display>settings> advanced.
In my case, I go to Gforce and enable both vga outputs.
then, it gives me the choice on either clone the image on both monitors, or do a horizontal view accross both screens...
Hope this helps,