Hi Saurabh,
Although this is not my specialty, perhaps these links could help you out:
1) Methodology for calculating SPI:
2) MATLAB script for calculating SPI (based on methodology from first link)
If you have access to MATLAB, you can try the script given in the link above. If you are looking for a free GIS software, you might want to look into Quantum GIS:
http://www.qgis.org/en/site/forusers/index.htmlKeep us posted with more details, and maybe others who are more familiar with this topic can be of more assistance.
Good luck!