When you have a Coffee Plant as a houseplant you need to prune aggressively to maintain its bushy compact shape. Use a sharp scissors and cut the stems at a 45 degree angle about 1/4"-1/8" above a leaf axil.