Why does a kitten push his paws into things and rub its head on to the same at the same time?

It's an involuntary action - the process you describe is the same movements a kitten would do to stimulate its mother to produce milk. They never seem to forget it even when they're much older !