Web developers have 2 computers on their desks so they can work on one part of the website or program they're developing and work separately on the other part of whatever they're developing.
Basically it just makes it much easier to have things open on different computers instead of switching tabs to get to things while developing and it helps prevents mistakes.
It also helps keep the web developer more productive.