You agree that what your both cousins have done is wrong and that texting is not permissible in Islam between non mahrams.
Therefore, you have nothing to do with it. Otherwise, it would be an approval from you that what they had done was right. Therefore, don’t involve yourself in it.