India to contribute $500,000 to UN to counter terrorism