is there any way to have Facebook or Twitter update in the background on my iPod touch?
You can either leave one of the apps open at night so it will refresh or get something like Boxcar, which would be a solution more fitting to your needs. Boxcar will push notifications from facebook and Twitter, and then you can launch Boxcar to see the updates.