1. Set all the cells on the sheet as locked apart from the two in question (use cell formatting - security to do this).
2. Protect the sheet.