Question: why can riku wield a keyblade?
Answer: In Hollow Bastion, Riku obtained more control over the darkness and his heart was infact stronger than Sora's and he was able to take the Keyblade from him.