How homemade do you want it to be? You could use dried senna pods in the same way as you make a cup of tea, or you could use a teaspoonful or so of castor oil instead. As for coffee, strangely, it acts as a laxative for many people, but acts to constipate just as many others.