Defibrillators are being installed across TransPennine Express trains over the next two months.