Oxford Dictionary of Quotations gives it as "Sometimes I sits and thinks, and then again I just sits". Punch Vol 131, P297, 1906. Punch was a humerous and satirical magazine in the UK which ran from 1841-2002.