Chances are that the ECU or BSI has been fried Usually if you can't talk to the ECU, after such an incident, it's the ECU that's fried, but check the supply fuses too.
If your going down the road of using used parts, you'll need the ECU / BSI / Key fob.
You can change the key blade to suit original locks.
Always best to make a note of reg. no of donor vehicle for future use. ie. obtaining immo code.
You'll also need an invoice from breakers as proof of change of ECU etc. to obtain the immo code as you won't have a V5 with correct reg no.
You can always read the vin no of the donor ECU, when fitted, using a key programmer like AD100 and obtain immo code from that.
Also make sure that the vehicle you obtain the used parts from is exactly the same spec vehicle.
Dave