Key pre-distribution in wireless sensor network is very important stage of WSN. I am trying to implement/simulate those scheme to test their efficiency, security/ robustness against attack. My question "Can i use NS2 for this purpose?"
Yes you can use NS-2, and also check NS-3. If you find the resources for other simulations so go for easy one but NS series are most popular and standard simulation tools.