Peanut Butter is a low Carbohydrate Food and is high in healthy fats so it's perfect for eating when you're on a Keto diet.
As long as you're eating low Carbohydrate based foods that are high in healthy fats then the food is okay to eat for a Keto diet.