Ok, first and foremost you need to find some webcam software, that is compatible with your webcam hardware, that will upload the feed to the Internet. I don't know any myself so maybe somebody can suggest one, otherwise you'll have to do some searching.

What webcam are you going to use?