Anti Poaching Agreement is between two employers HDFC Bank and ICICI Bank. Hope you had resigned properly with notice and then joined ICICI Bank. HDFC Bank can initiate disciplinary action only if you didn't got relieved properly. Now that you joined with ICICI Bank, your current employer only need to face any consequences and you don't need to worry.
From India, Madras