There was a whole episode of Horizon devoted to this on Thursday night featuring a jazz pianist in an MRI scanner as he improvised on a wee keyboard. Watch it again:
http://www.bbc.co.uk/iplayer/episode/b01rbynt/Horizon_20132014_The_Creative_Brain_How_Insight_Works/