Yes, you may travel with both passports provided that your visa is still valid and the personal details including your name, sex, date of birth and nationality on both passports are the same.