Gunmen stormed a Sikh temple in Afghanistan's capital and wounded at least two people after throwing a grenade.