Please copy and paste the questions in this link: https://www.chameleonforums.com/how-ask-help-66/ for each chameleon. Answer each question so we can ensure they are being housed correctly. I am assuming you are housing them separately?
They may just need some time to settle in. Give them some time to adjust to their new surroundings and then they should eat. This may take a few days. How old are they? When they get a bit older you will likely want two separate enclosures. Usually one chameleon will not get enough food and will be stressed by the very presence of the additional roommate.
We'd love to see some pictures! Welcome to the forums.