If you have lost an old bank account book and still had money in that account and the bank has changed names twice how do you go about getting this account number?

The bank should still have your information on file no matter how many times it changes ownership. Just go there and ask for your account number (or whatever info you need). Be sure to have your driver's license or ID card on you.