I don’t think he had the 2 princes killed. He gained nothing from it. But Henry Tudor did gain big time from it. I believe that Margaret Beaufort arranged their murder.
Richard killed them. He's the only one who had the means and the opportunity. And he absolutely did benefit from their deaths. As long as the boys lived Richard's right to rule would be in question. He was a usurper after all.