HSBC said it will repurchase up to $2 billion in shares, expected to be completed by the end of their first quarter of 2025.