In return , India is to separate its civilian and military nuclear programs and allow international inspection of its civilian facilities .