Ideas aren't magical; the only tricky part is holding on to one long enough to get it written down.
I usually write away from home, in coffee shops, on trains, on planes, in friends' houses. I like places where there's stuff going on that you can lift your eyes, see something interesting, overhear a conversation.