Starting in Black and White, female Pokémon with Hidden Abilities have a 60% chance of passing on the Hidden Ability to their offspring when bred with a male Pokémon from the same Egg Group. In Generation VI, this was extended so that male and genderless Pokémon with a Hidden Ability can also pass it down if they are bred with Ditto. The chance of the offspring having either non-Hidden Ability is 20% each.
Kakuna doesn't have a hidden ability, so the chance is 0. source