ManyCam is free and it will do the work. ScreenCamera is paid but has the advantage of recording your screencast in high definition.