P0087 fuel rail pressure low.
First and cheapest thing here I would do is get the fuel filter changed and make sure there are no fuel leaks from the hi-pressure pipes.
Recently had a late Focus tdci in with similar faults and one of the injectors had been changed elsewhere and one of the pipes was leaking where it goes on the fuel rail.
It would go into limp mode every now and then with reduced acceleration, had a non genuine fuel filter on it, put a genuine Ford fuel filter on it and was cured quite cheaply.
EGR code, which code exactly?