I have specific codes being executed on the first and the second touch, but any other further touch just makes the code run again and that is not what I intend to do. I need to disable the touches, if there are more than 2 touches. So, Input.GetTouch(0) & Input.GetTouch(1) should work but Input.GetTouch(2),3,4,5 should not.
Instead of the for loop, use
if(Input.touchCount >1)
that way you wont get an out of range exception on GetTouch(1)