hello,
i need help...., let say a user enter a keywords - Cars in Google search engine, .....how to track it?

i want to code a program that can list out result like this - :

Search Engine : Google
Keywords: : Cars

Please help me, urgent!