Does Xcode Has Keyboard ShortCut for going back and forth in programming?
Yes. The keys in Visual Studio 2010 that you refer to (for others that are unaware) are known as "Navigate Backward" and "Navigate Forward" and work as described in the the following Microsoft Blog allowing you to quickly move back and forward between places you’ve already been in your code, via a "Jump to Definiton" in Xcode, for example.

The equivalent keyboard shortcuts in Xcode 4 are:

Navigate Backward:

Ctrl + ⌘ + Left Cursor

Navigate Forward:

Ctrl + ⌘ + Right Cursor