you can do it , but at first you need a little of knowing about theory.I mean you should know a thing at least about notes and time signatures to play an instrument. so I suggest that take a look at some free online resources about notes , rhythms , time signatures. and after that if you don't want theory, you should train your ears to detect what type of chords or which notes are playing. so you can do it by using some apps on your ios or android device like perfect ear 2 , ear worthy , etc. also you should train yourself by trying to play some easy songs with your hearing ability, try to hear and hear and hear the song and try to play with your guitar. also in guitar you can google for guitar chords and to play them you need to use a chord dictionary to know how to play a chord.like this online one : http://chordfind.com/
here you can find some chords and tablatures : http://www.chordie.com
also to play a melody not chords you can learn to play using tabs (tablatures) that is so easy to learn... tabs just tell you which string and where...
here you can find some Indian song chords : http://www.indianguitarsongs.com/