Every individual is different, and this very much depends on what you are eating, how active you are, and personal biology. That said, if you are trying to get into a state of ketosis, then restricting carbohydrates to 20 g to an upper cap of 50g net carbs is a good idea. Typically, ketogenic diets are high in fat and moderate in protein. Despite this, many people do well on a higher protein intake and manage to stay in ketosis too. Go with what feels right for you.