The correct answer is: In the match against Australia both players scored centuries.
The article "the" is used before a noun to indicate that the noun is specific or unique. In this case, the match against Australia is not a specific match, but rather any match between India and Australia. Therefore, the article "the" is not necessary.
The article "a" or "an" is used before a noun to indicate that the noun is indefinite or non-specific. In this case, the players are not specific players, but rather any players who score centuries in a match against Australia. Therefore, the article "a" or "an" is not necessary.
Therefore, the correct answer is: In the match against Australia both players scored centuries.