From what I remember, Pele's official goals were 757. Ronaldo has 636 and 204 assists in 895 games, Messi - 598 goals, 246 assists in 745 games. It's on the website about their rivalry and it can be seen when broken down by stats in different competitions.Anyone knows how many career goals Messi has ? Only official matches including Argentina. I think he'll play for longer than Ronaldo due to age and although Pelé is said to have 1283 goals, if we talk about official matches only, he's got about 700 goals and i'm pretty sure Messi and Ronaldo are close to it.
It would be very difficult for both to surpass Pele's goal count, but it would heavily depend where they finish their careers.