Both Stokes and Archer are playing for Rajasthan Royals in the IPL.
"Good luck to our lads in today's huge IPL game," tweeted ECB on Friday.
Pietersen replied on Twitter, "Just imagine, IMAGINE this tweet 8/9 years ago...! (with laughing emoticons). I'm so happy these guys are benefitting positively from the IPL!"
Pietersen had spoken strongly in favour of England players participating in IPL years ago even though the English board was reluctant to let its players play in the IPL and discouraged them. Pietersen also fell out with former England captain Andrew Strauss over the issue.
While Pietersen claimed that it would help England's ODI team, some players felt that he was after money.
Former England skipper Michael Vaughan had in April told Fox Sports that the then England players were jealous of him for landing a huge IPL contract.
Speaking to Gulf News, Stokes gave credit to Pietersen for opening the doors to IPL for England cricketers.