You can transfer the sale proceeds to your sons' NRO accounts, but this will be legally treated as a gift during your lifetime rather than an inheritance under your will. Because you are selling the property now, your will which only takes effect after death does not yet govern these funds.
Since you are a resident Indian and your sons are non-residents, transferring money to them is governed by the Liberalised Remittance Scheme (LRS).
You can gift up to USD 250,000 per financial year to each son. If the 50/50 share for each son exceeds this amount, you may need to stagger the transfers over multiple financial years or seek RBI approval.
Transfers exceeding ₹7 lakh in a financial year will attract a 20% TDS. You can claim this back as a credit against your own income tax liability when you file your returns