Moving an object to random positions

Hello,

I need help moving objects randomly across the screen. I want this to happen infinitely. Think of the old screensavers on windows where things just bounced around the screen, as it hits the edge I need it to bounce off and switch directions.

Has anyone done anything like this before?