The original Kingdom Hearts and Kingdom Hearts II were released only for the PlayStation 2, so they aren't natively available on the DS. However, there are still ways to enjoy the series on a DS.
You can play Kingdom Hearts: Chain of Memories on the DS—even though it's originally a Game Boy Advance game, it's fully compatible with the DS. There's also Kingdom Hearts: 358/2 Days, a dedicated DS title, plus another entry in the series for the platform. So while the mainline PS2 games are off-limits, the DS has its own slice of the Kingdom Hearts story.